﻿<UserControl x:Class="FrontDisplay.Controls.PositionControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:FrontDisplay.Controls" Width="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Rectangle x:Name="PositionBar" x:FieldModifier="private" Opacity="0.2" VerticalAlignment="Stretch" Fill="White" HorizontalAlignment="Left" Grid.ColumnSpan="2"></Rectangle>
        <Rectangle x:Name="PositionBarBottom" Opacity="0.9" Fill="White" Height="10" VerticalAlignment="Bottom" HorizontalAlignment="Left" Grid.ColumnSpan="2"></Rectangle>
        <Viewbox Grid.Column="0" HorizontalAlignment="Left" VerticalAlignment="Bottom">
            <local:OutlineTextBlock x:Name="TimeLabel" x:FieldModifier="private" Margin="0,0,10,0" FontSize="100" Text="0:00" StrokeThickness="1" />
        </Viewbox>
        <Viewbox Grid.Column="1" HorizontalAlignment="Right" VerticalAlignment="Bottom">
            <local:OutlineTextBlock x:Name="ElapsedTimeLabel" x:FieldModifier="private" Margin="0,0,10,0" FontSize="100" Text="0:00" StrokeThickness="1" />
        </Viewbox>
        <Rectangle Fill="Transparent" Grid.ColumnSpan="2"></Rectangle>
    </Grid>
</UserControl>
